home *** CD-ROM | disk | FTP | other *** search
/ MacWorld: Super Stacks! / Macworld CD.iso / HyperCard Archives / International / French v1.2.5.1 / Piles principales / Notes sur la version 1.2.5 / card_7164.txt < prev    next >
Text File  |  1989-10-04  |  3KB  |  120 lines

  1. -- card: 7164 from stack: in.5
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 5683
  5. -- name: Show Picture
  6. ----- HyperTalk script -----
  7. on drawPicture
  8.   set cursor to watch
  9.   lock screen
  10.   choose oval tool
  11.   set dragSpeed to 90
  12.   set multiSpace to 2
  13.   set multiple to TRUE
  14.   set centered to TRUE
  15.   set filled to FALSE
  16.   drag from 256,171 to 306,221 with shiftKey
  17.   doMenu "Select All"
  18.   domenu "opaque"
  19.   unlock screen
  20. end drawPicture
  21.  
  22. on cleanExit
  23.   --une id√©e pour utiliser la fonction revert avec un effec visuel
  24.   lock screen
  25.   doMenu "revert" --n'enregistre pas la nouvelle image
  26.   choose browse tool
  27.   unlock screen with dissolve slowly to white
  28. end cleanExit
  29.  
  30.  
  31.  
  32. -- part contents for background part 7
  33. ----- text -----
  34. Show Picture
  35.  
  36. -- part contents for background part 9
  37. ----- text -----
  38. Nouvelles commandes HyperTalk
  39. Carte 5 sur 5
  40.  
  41. -- part contents for background part 8
  42. ----- text -----
  43. show picture of <carte>
  44. show picture of <fond>
  45. show card picture
  46. show background picture
  47.  
  48. -- part contents for background part 10
  49. ----- text -----
  50. carte> est une expression identifiant une carte ;
  51. <fond> est une expression identifiant un fond.
  52.  
  53.  
  54. -- part contents for background part 11
  55. ----- text -----
  56. Show Picture affiche l'image de la carte ou du fond d√©sign√©. Show Card Picture et Show Background Picture affichent respectivement l'image de la carte COURANTE et du fond COURANT.
  57.  
  58.  
  59. -- part contents for background part 17
  60. ----- text -----
  61. --afficher l'image d'une carte ou d'un fond donn√© :
  62. show picture of card 3
  63. show pict of first cd
  64. show picture of background "jazz"
  65. show pict of prev bg
  66. show pict of the name of this cd
  67. show pict of Variable
  68.  
  69. --afficher l'image de la carte courante ou du fond 
  70. --courant :
  71. show card picture
  72. show cd pict
  73. show background picture
  74. show bg pict
  75.  
  76. -- part contents for background part 18
  77. ----- text -----
  78. on showPictureDemo
  79.  
  80. --dessiner une image et ne l'afficher que 
  81. --lorsqu'elle est termin√©e :
  82.  
  83.   hide card picture
  84.   drawPicture -- dans le script de cette carte
  85.   show cd pict
  86.  
  87.   wait 2 sec
  88.   cleanExit  -- dans le script de cette carte
  89.  
  90. end showPictureDemo
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99. -- part contents for background part 31
  100. ----- text -----
  101. Hide Picture
  102. Lock et Unlock Screen
  103. showPict
  104.  
  105. -- part contents for background part 35
  106. ----- text -----
  107. ‚Ä¢  Lorsqu'une image de carte (ou de fond) est masqu√©e et 
  108.     que vous tentez 
  109.    
  110.     (a) de la modifier avec un outil de dessin ou
  111.     (b) d'y coller un dessin, 
  112.  
  113.     une zone de dialogue vous demande si vous souhaitez 
  114.     afficher l'image. Cliquez sur OK pour la rendre visible, 
  115.     ou bien sur Annuler.
  116.  
  117. ‚Ä¢  Un script peut modifier une image sans qu'elle soit 
  118.     visible (et sans provoquer l'apparition de la zone de 
  119.     dialogue).
  120.